$(function () {
    $('.News-image-carousel').slick({
        slidesToShow: 3,
        slidesToScroll: 1,
        autoplay : true,
        dots: false,
        arrows : false,
        responsive : [
            {
                breakpoint: 1200,
                settings: {
                    slidesToShow: 1,
                    centerMode: true,
                    variableWidth: true,
                }
            },
            {
                breakpoint : 992,
                settings : {
                    slidesToShow: 3,
                    centerMode: false,
                }
            },
            {
                breakpoint : 700,
                settings : {
                    slidesToShow: 2,
                    centerMode: true,
                }
            },
            {
                breakpoint : 600,
                settings : {
                    slidesToShow: 1,
                    centerMode: true,
                }
            }
        ]

    });

    $('.News-record-carousel').slick({
        slidesToShow: 1,
        slidesToScroll: 1,
        dots:true,
        arrows : true,
        speed :300,
        autoplay : true,
    });
});